
#include "imp_types.h"
/**
 * Create a 2D array reference.
 * @param x
 * @param y
 * @return an \c Ref2.
 */
Ref2 _Ref2(int x, int y) {
	Ref2 ref;
	ref.x = x;
	ref.y = y;
	return ref;
}
/**
 * Create a 3D array reference.
 * @param x
 * @param y
 * @param z
 * @return an \c Ref3.
 */
Ref3 ref3_new(int x, int y, int z) {
	Ref3 ref;
	ref.x = x;
	ref.y = y;
	ref.z = z;
	return ref;
}